<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php
include "function_net_dns.php";

$from= $_POST['fromIndex'];
$to= $_POST['toIndex'];

$dns = new CDns;
$dns->MoveItem($from, $to);

$log = array();
$log['From'] = $from;
$log['To'] = $to;

include_once "function_misc_log.php";
logger("Move", $log, "Dns");

echo("<meta http-equiv='refresh'content=0;URL='net_dns_display.php'>");   

?>
